package indi.zhifa.study2024.nbr.controller;

import indi.zhifa.core.common.web.entity.ann.ZhiFaRestController;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Slf4j
@Validated
@RequiredArgsConstructor
@RequestMapping(value = "/class002/nbr/test")
@ZhiFaRestController
@Tag(name = "测试接口")
public class TestController {

    @Operation(summary = "hello")
    @PostMapping("/hello")
    public String hello(){
        return "hello2";
    }


}
